While sandboxing isn't a concern for the gnome-extensions command line
tool, using the Extensions proxy directly means that D-Bus methods are
called from the tool rather than gnome-shell, which allows the proxy
to auto-shutdown when done.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1106
return g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
G_DBUS_PROXY_FLAGS_NONE,
NULL,
- "org.gnome.Shell",
- "/org/gnome/Shell",
+ "org.gnome.Shell.Extensions",
+ "/org/gnome/Shell/Extensions",
"org.gnome.Shell.Extensions",
NULL,
error);